package com.model.composite;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import com.type.TipoTelefonoEnum;

@SuppressWarnings("serial")
@Embeddable
public class Telefono implements Serializable {

	@Column(length = 30, nullable = false)
	private String numero;

	@Enumerated(EnumType.STRING)
	private TipoTelefonoEnum tipoTelefono;

}
